﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Nollie.Utilities
{
	[TestClass]
	public class KeyIndexCollectionTests
	{
		[TestMethod]
		public void BaseRemove_should_not_throw_exception_if_key_does_not_exist()
		{
			var collection = new KeyIndexCollection(1);

			try
			{
				collection.BaseRemove("test");
			}
			catch
			{
				Assert.Fail("Should not throw exception when key does not exist");
			}
		}
	}
}
